package com.ruoyi.yuangong.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工管理对象 yuangong
 *
 * @author ruoyi
 * @date 2023-05-26
 */
public class Yuangong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 店名 */
    @Excel(name = "店名")
    private String dianming;

    /** 上班人数 */
    @Excel(name = "上班人数")
    private Long renshu;

    /** 备注 */
    @Excel(name = "备注")
    private String beizhu;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }
    public void setDianming(String dianming)
    {
        this.dianming = dianming;
    }

    public String getDianming()
    {
        return dianming;
    }
    public void setRenshu(Long renshu)
    {
        this.renshu = renshu;
    }

    public Long getRenshu()
    {
        return renshu;
    }
    public void setBeizhu(String beizhu)
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu()
    {
        return beizhu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("date", getDate())
                .append("dianming", getDianming())
                .append("renshu", getRenshu())
                .append("beizhu", getBeizhu())
                .toString();
    }
}
